package com.example.wzh.robotsdemo.controlbean;

/**
 * Created by WZH on 2017/9/7.
 */

public class LightBean {

    /**
     * "attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
     */
    private int event_light_control;
    private int event_light_control_helper;


    public LightBean(int event_light_control, int event_light_control_helper) {
        this.event_light_control = event_light_control;
        this.event_light_control_helper = event_light_control_helper;
    }

    @Override
    public String toString() {

        //attrs : {"event_curtain_control":1,"event_curtain_control_helper":1}
        return "{\"attrs\":{" +
                "\"event_light_control\":" + event_light_control  +
                ",\"event_light_control_helper\":" + event_light_control_helper +
                "}}";
    }
}
